package com.yd.domain.searchParam;

import com.yd.domain.commom.DomainObject;

import java.util.Date;

/**
 * @author zy
 * @create 2018-03-13 9:08
 * @desc 信息交流查询条件
 **/
public class MessageParam extends DomainObject<MessageParam>{
    private String publishUser;//发布人
    private Date startTime;//发布时间--开始
    private Date endTime;//发布时间--开始
    private String receiveUser;//接收人
    private String token;//谈话标识

    public String getPublishUser() {
        return publishUser;
    }

    public void setPublishUser(String publishUser) {
        this.publishUser = publishUser;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getReceiveUser() {
        return receiveUser;
    }

    public void setReceiveUser(String receiveUser) {
        this.receiveUser = receiveUser;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "MessageParam{" +
                "publishUser='" + publishUser + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", receiveUser='" + receiveUser + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
